package top.infopub.job.bpa.service.impl;


import java.math.BigDecimal;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.job.bpa.dao.EffectSureDao;
import top.infopub.job.bpa.service.EffectSureService;
import top.infopub.model.bpa.EffectSure;


@Service
public class EffectSureServiceImpl extends GenericServiceImpl<EffectSure, String> implements EffectSureService {

    @Autowired
    private EffectSureDao effectSureDao;

    @Override
    public GenericDao<EffectSure, String> getDao() {
        return effectSureDao;
    }

    @Override
    public int count(String proCode) {
        return effectSureDao.count(proCode);
    }

    @Override
    public BigDecimal selectByEffectType(Map<String, Object> where) {
        return effectSureDao.selectByEffectType(where);
    }

    @Override
    public BigDecimal selectTypeOfEffectFee(Map<String, Object> where) {
        return effectSureDao.selectTypeOfEffectFee(where);
    }

}